using UnityEngine;
using System.Collections;

public class OtherPlayerBalance : MonoBehaviour {
	
	SmoothFollow sf;
	Transform trans;
	public Vector3 position;

	// Use this for initialization
	void Start () {
		sf = Camera.main.GetComponent<SmoothFollow>();
		trans = transform;
	}
	
	// Update is called once per frame
	void Update () {
		if(sf.cameraIsMoving){
			trans.position -= sf.balanceDirection;
			position = sf.balanceDirection;
		}
	}
}
